namespace BM.Tools.WebControls.MForm.Navigation.Predicates
{
    using System;

    /// <summary>
    /// An interface for all navigators that use a predicate function to filter results.
    /// </summary>
    /// <typeparam name="T">
    /// The type of the navigable object.
    /// </typeparam>
    public interface IPredicateNavigator<T> : INavigator<T>
    {
        /// <summary>
        /// Gets Predicate function.
        /// </summary>
        /// <value>
        /// The predicate function.
        /// </value>
        Func<T, bool> PredicateFunction
        {
            get;
        }
    }
}